home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Queries / PGetPageOptions.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  696b  |  24 lines

  1. /*
  2.  *--- PGetPageOptions.cpp -------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Thu, Oct 12, 1995 @ 10:11 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetPageOptions.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PQuery.h"
  12. #include "PGetPageOptions.h"
  13.  
  14. PGetPageOptions::PGetPageOptions()
  15. {
  16.     short temp[2];
  17.  
  18.     PQuery query(pm_getpageoptions, (char *) temp, 4);
  19.     bDoubleSided = temp[0] ? true : false;
  20.     bFacingPages = temp[1] ? true : false;
  21. }
  22.  
  23. // end of PGetPageOptions.cpp
  24.